Skip to content

Fix memory leakage#123

Open
K4rakara wants to merge 1 commit intoanguslees:masterfrom
K4rakara:fix/memory-leak
Open

Fix memory leakage#123
K4rakara wants to merge 1 commit intoanguslees:masterfrom
K4rakara:fix/memory-leak

Conversation

@K4rakara
Copy link

In both import and native callbacks, memory is currently leaked by this library. This PR fixes that by keeping track of the allocated pointers along with a function pointer that indirectly calls the destructors for the passed data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants